Eeciently Implementing Slg Resolution

نویسندگان

  • Terrance Swift
  • David S. Warren
چکیده

SLG is a table-oriented resolution method that is gaining increasing attention due to its ability to combine the deductive database, non-monotonic reasoning and logic programming paradigms. SLG resembles SLD in that it admits a tuple-at-a-time resolution method, so it can make use of many of the techniques developed in implementing SLD over the past decade. Indeed, a program can contain any mixture of SLG and SLD evaluated predicates. As a result SLG forms a natural basis for extending Prolog systems. SLG can be eeciently implemented using a WAM-style abstract machine, the SLG-WAM. The SLG-WAM has been implemented for stratiied programs, and design is underway for extensions to general programs. Performance results for stratiied programs are available. They indicate rstly when executing SLD, the overhead of the SLG-WAM compared to a similar WAM implementation is minimal, and usually less than 10%. Further results indicate that SLG derivation may be expected to be surprisingly competitive with SLD derivation on numerous datalog programs, even when SLD terminates and contains no redundant subcomputations. Finally, performance comparisons indicate that the SLG-WAM is about an order of magnitude faster than current deductive database systems even for datalog queries. The results, taken as a whole call into question traditional arguments about top-down versus bottom-up evaluation eeciency, and also indicate that implementation of SLG evaluation is a eld of research worthy of general study.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Performance of Sequential SLG Evaluation

SLG is a table-oriented resolution method that is gaining increasing attention due to its ability to combine the deductive database and logic programming paradigms. As an example of its applicability to deductive databases, SLG is asymptotically equivalent to magic template evaluations over the class of deenite programs. In terms of the logic programming (and non-monotonic) paradigms, SLG compu...

متن کامل

Analysis of SLG-WAM Evaluation of Definite Programs

SLG is a table-oriented resolution method that combines the deduc-tive database and logic programming paradigms. SLG is applicable to de-ductive databases since it terminates and has polynomial data complexity for programs with nite models. In terms of the logic programming (and non-monotonic) paradigms, SLG computes the well-founded model for non-stratiied programs, and has been extended to co...

متن کامل

Analysis of Sequential SLG Evaluation

SLG is a table-oriented resolution method that has the ability to combine the deductive database and logic programming paradigms. As an example of its applicability to deductive databases, SLG terminates and has polynomial data complexity for programs with nite models. In terms of the logic programming (and non-monotonic) paradigms, SLG computes the well-founded model for non-stratiied programs...

متن کامل

Evaluating an Algorithm for Default Reasoning

In this paper performance of a lately proposed decision procedure for Reiter's default logic is evaluated. Recent complexity results indicate that there are two orthogonal sources of complexity in default reasoning: classical ((rst-order) reasoning and connict resolution (i.e. choosing an appropriate set of applicable non-connicting default rules). For classical reasoning well-known techniques ...

متن کامل

Xsb: a System for Eeciently Computing Well-founded Semantics

The well-founded model provides a natural and robust semantics for logic programs with negative literals in rule bodies. We implemented the well-founded semantics in the SLG-WAM of XSB 19]. Performance results indicate that the overhead of delay and simpliica-tion to Prolog | or tabled | evaluations is minimal. To compute the well-founded semantics, the SLG-WAM adds to an eecient tabling engine...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994